package com.ljk.study6ormtkmybatispage.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * desc: 配置通用mapper的扫包  和mybatis的事务控制
 *
 * @author ljk
 * @date 2021/4/2 22:08
 */
@Configuration
@MapperScan(basePackages = {"com.ljk.study6ormtkmybatispage.mapper"})
@EnableTransactionManagement
public class TkMybatisConfig {
}
